package com.qingcheng.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.qingcheng.dao.ResourceKeyMapper;
import com.qingcheng.pojo.system.Resource;
import com.qingcheng.service.system.ResourceKeyService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;


@Service
public class ResourceKeyServiceImpl implements ResourceKeyService {

    @Autowired
    private ResourceKeyMapper resourceKeyMapper;


    public List<Resource> ResourceKey(String loginName) {
       return resourceKeyMapper.ResourceKey(loginName);
    }
}
